<div>
	<fs-grid-layout ng-model="vm.custAcct" fs-verify-model="vm.custAcctOld" fs-config="vm.layoutConfig.formConfigs.general" fs-validator-config="vm.validatorConfig"></fs-grid-layout>
	 <fs-tabset ng-if="vm.custAcct.paycodeCat == vm.custAcct.siteCode + '-SWIFT'">
		<fs-tab index="0" heading="{{'title.tab.swift.general' | translate}}" ng-if="vm.custAcct.paycodeCat == vm.custAcct.siteCode + '-SWIFT'" >
		    <ng-form name="custAcctForm">	
		     <fs-grid-layout ng-model="vm.custAcct.custAcctSwift" fs-verify-model="vm.custAcctOld.custAcctSwift" fs-config="vm.layoutConfig.formConfigs.swift" fs-validator-config="vm.validatorConfig.custAcctSwift">
		     </fs-grid-layout>
		    </ng-form>
	  	</fs-tab>
	  	<fs-tab index="$index+1" heading="{{partyType.label | translate}}" ng-if="vm.custAcct.paycodeCat == vm.custAcct.siteCode + '-SWIFT'" 
	  			ng-repeat="partyType in vm.payPartyTabs track by $index">
	  		<ng-form name="custAcctForm">
	  			<fs-grid-layout ng-model="vm.custAcct.custAcctSwift.payPartyList[$index]" fs-verify-model="vm.payPartyOldModel[partyType.value]" fs-config="vm.payPartyConfig[$index]" fs-validator-config="vm.validatorConfig.custAcctSwift.payPartyList"></fs-grid-layout>
	  		</ng-form>
	  	</fs-tab> 
	</fs-tabset> 
</div>
